<!DOCTYPE html>
<html lang="en"xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8" >
    <title>文件上传</title>
</head>
<body>
<form th:action="@{/upload}" method="post" enctype="multipart/form-data">
    <br>
    <h3 style="color: red">注意:单个文件不超过10MB,一次上传不超过100MB</h3>
    <div>
        <label for="exampleInputFile">单个文件</label>
        <br>
        <input type="file" name="headImage" id="exampleInputFile">
    </div>
        <br>
    <div>
        <label for="exampleInputFile">多个文件</label>
        <br>
        <input type="file"  name="photos" multiple>
    </div>
    <br>
    <button type="submit" >上传</button>
</form>
</body>
</html>
